﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MX
{
    class Tasknpc : Npc
    {
        private string taskinfo;
        public Tasknpc(string name, Npctype type, string taskinfo) : base(name, type)
        {
            this.taskinfo = taskinfo;
        }

        public override void Speak()
        {
            Console.WriteLine("我需要你的帮助");
            Console.WriteLine("{0}{1}", this.Name, this.taskinfo);


        }
    }
}
